<div class="bjui-pageContent">
    <form action="/admin/administration/cost-management/bill-import" enctype="multipart/form-data"
          data-toggle="ajaxform" data-close-current="true"
          data-options="{closeCurrent: true, okAfterCallback:freshPostPersonnel}">
        <div class="bjui-row col-1">
            <label class="row-label">导入模板</label>
            <div class="row-input">
                <a href="stuinfo/download" data-toggle="ajaxdownload"
                   data-options="{url:'/admin/administration/cost-management/bill-download'}">导入模板文件下载</a>
            </div>
            <label class="row-label">上传导入文件</label>
            <div class="row-input"><input type="file" name="Bill" accept="application/vnd.ms-excel,.xlsx,.xls"
                                          data-rule=""></div>
        </div>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li>
            <button type="button" class="btn-close" data-icon="close">取消</button>
        </li>
        <li>
            <button type="submit" class="btn-default" data-icon="save">保存</button>
        </li>
    </ul>
</div>
<script>
    function freshPostPersonnel() {
        $("#bill-list").datagrid("refresh", true);
    }
</script>